// MainFrm.h : interface of the CMainFrame class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_MAINFRM_H__A174EDB9_BC5F_4918_9640_B2BFC3F0DBE0__INCLUDED_)
#define AFX_MAINFRM_H__A174EDB9_BC5F_4918_9640_B2BFC3F0DBE0__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CMainFrame : public CMDIFrameWnd
{
	DECLARE_DYNAMIC(CMainFrame)
public:
	CMainFrame();

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMainFrame)
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CMainFrame();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif
	CDialogBar m_wndDlgBar;
	CDialogBar m_wndDlgBar1;
protected:  // control bar embedded members
	CStatusBar  m_wndStatusBar;
	CToolBar    m_wndToolBar;

	void SetFrontColor(COLORREF color)
	{
		m_wndDlgBar1.GetDlgItem(IDC_COLOR_FRONT);
		CDC* dc = m_wndDlgBar1.GetDC();
		// dc.DrawRect();
	};
	void SetBkColor(COLORREF color)
	{

	};

// Generated message map functions
protected:
	//{{AFX_MSG(CMainFrame)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnSet();
	afx_msg void OnChildActivate();
	afx_msg void OnAddfloss();
	afx_msg void OnImport();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnArrow();
	afx_msg void OnPen(UINT id);
	afx_msg void OnUpdateArrow(CCmdUI *pCmdUI);
	afx_msg void OnImportImage();
	afx_msg void OnTest();
	afx_msg void OnTest2();
	afx_msg void OnViewLibs();
	afx_msg void OnCbnSelchangeSelLib();
	afx_msg void OnPaint();
	afx_msg void OnAnaly();
	virtual void OnSetPreviewMode(BOOL bPreview, CPrintPreviewState* pState);
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_MAINFRM_H__A174EDB9_BC5F_4918_9640_B2BFC3F0DBE0__INCLUDED_)
